package cn.jiahua.hospital.service.impl;

import cn.jiahua.hospital.dto.HotDoctor;
import cn.jiahua.hospital.mapper.HotDoctorMapper;
import cn.jiahua.hospital.service.HotDoctorService;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class HotDoctorServiceImpl implements HotDoctorService {
    @Autowired
    private HotDoctorMapper hotDoctorMapper;


    @Override
    public List<HotDoctor> selectHotDoctor(Integer number, Integer pageNo, Integer pageSize,Integer roleId) {
        return hotDoctorMapper.selectHotDoctor(number,pageNo,pageSize,roleId);
    }
}
